package kw.android.AProject.Sprite;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.view.MotionEvent;

public class SpriteButton extends Sprite {
	
	public SpriteButton(Context context) {
		super(context);
		init(context);
	}
	
	private void init(Context context) {		

	}
	
	public void doDraw(Canvas canvas) {
		canvas.drawBitmap(mImage[mImageState], mX, mY, null);
	}
	
//	public void doDrawWithMatrix(Canvas canvas, Matrix matrix) {
//		// TODO Auto-generated method stub		
//		Matrix matrix2 = new Matrix();
//		matrix2.set(matrix);
//		matrix2.postTranslate(mX, mY);
//		canvas.drawBitmap(mImage[0], matrix2, null);
//	}
}	
